package com.atguigu.tingshu.album.config;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/***
 * minio实体类
 * @NacosConfigurationProperties() = @ConfigurationProperties
 */
@Configuration
@ConfigurationProperties(prefix = "minio")
@Data

public class MinioConstantProperties {
    private String endpointUrl;//minio地址
    private String accessKey;//minio用户
    private String secreKey;//mini密码
    private String bucketName;//桶名字
}
